package com.tansuo365.test1.mapper.othermapper;

import com.tansuo365.test1.bean.otherbean.ShengouZhixing;

import java.util.List;

public interface ShengouZhixingMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(ShengouZhixing shengouZhixing);

    ShengouZhixing selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShengouZhixing shengouZhixing);

    int updateZhixingChangeDaohuoWeidaohuoAndZhuangtai(ShengouZhixing shengouZhixing);

//    List<ShengouZhixing> listDaohuoDetailsByZongId(Integer zongzhangid);

    List<ShengouZhixing> listShengouZhixingSelective(ShengouZhixing shengouZhixing);

    ShengouZhixing listShengouZhixingByDanhaoAndMingcheng(String danhao,String mingchengguige);

//    int deleteByPrimaryKey(Integer id);

//    int deleteByZongId(Integer zongzhangid);

    //根据申购单总表id,删除申购单下对应的详细申购物料元组
    int deleteByIdArr(Integer[] ids);

//    int insertSelective(DaohuoDetails daohuoDetails);

//    DaohuoDetails selectByPrimaryKey(Integer id);

//    int updateByPrimaryKeySelective(DaohuoDetails daohuoDetails);
    int deleteByShengoudanhao(List<String> duiyingshengoudans);

}